﻿// 20201207.cpp : This file contains the 'main' function. Program execution begins and ends there.
//

#include <iostream>
#include "TempTest.h"
#include "Container.h"
#include "20210128.h"
#include "20210625.h"
#include "20210705.h"
#include "20220308_File.h"

int main()
{
    size_t type = 20;
    std::string path;
    switch (type)
    {
    case 1:
        container_test::test_1();
    	break;
    case 2:
        container_test::test_2();
        break;
    case 3:
        container_test::test_3();
        break;
    case 4:
        stl_test::test(5.512150);
        stl_test::test(5.512140);
        break;
    case 5:
        stl_test::test2();
        break;
    case 6:
        stl_test::test3();
        break;
    case 7:
        datatype::testSize_t();
        break;
    case 8:
        datatype::testStruct();
        break;
    case  9:
        container_test::test_4();
        break;
    case 10:
        testMath();
        break;
    case 11:
        testNuical();
    case 12:
        container_test::test_5();
        break;
    case 13:
        container_test::test_6();
        break;
    case 14:
        container_test::test_7();
        break;
    case 15:
        container_test::switchingAccuracy(2.43232, 0);
        break;
    case 16:
        container_test::findKeyEle();
        break;
    case 17:
        container_test::insertTest();
        break;
    case 18:
        container_test::reseverSize();
        break;
    case 19:
        container_test::removeEle();
        break;
    case 20:
        path = "D:\\CatenaryCloud\\Test_Log\\20220305-howard\\CutResult_PointCloud_0096780000-0097930000\\Doubel_line_part(Error)\\CutResult_{S_96880-96930}PointCloud_0096780000-0097930000{S_96906-96913}_Rigid\\CutResult_{S_96880-96930}PointCloud_0096780000-0097930000{S_96906-96913}_LowestPointsOfCatenaryLines.txt";
        test_file::createFile(path);
        path = "D:\\1222\\CutResult_{S_96880-96930}PointCloud_0096780000-0097930000{S_96906-96913}_LowestPointsOfCatenaryLines.txt";
        test_file::createFile(path);
        path = "D:\\1222\\3242.txt";
        test_file::createFile(path);
        break;
    default:
        std::cout << "default" << std::endl;
        break;
    }

    system("pause");
    return 1;
}

// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
